package com.hbx.vo.blog;

import com.hbx.vo.RankVo;
import lombok.Data;

import java.util.Date;
import java.util.List;

/*
 * @Author:hbx
 *
 * */
@Data
public class BlogVo {
    private Integer blogId;

    private String blogTitle;

    private String blogContent;

    private String blogImg;

    private Date blogPushTime;

    private Integer blogIsCommend;

    private List<String> blogTags;

    private Integer blogNiu;

    private Integer isNiu;

    private UserVo user;

    private List<BlogCommentVo> commentList;

    private Integer commentCount;

    @Data
    public static class UserVo{
        private Integer userId;
        private String userName;
        private String avatar;
        private List<RankVo> rankList;
    }
}
